package cn.scw.project.facility.domain;

import cn.scw.framework.aspectj.lang.annotation.Excel;
import cn.scw.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 默认打印价格对象 fac_print_price
 *
 * @author api
 * @date 2020-05-20
 */
public class FacPrintPrice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 打印类型-关联fac_print_type表code字段 */
    @Excel(name = "打印类型")
    private String type;

    /** 是否彩色 */
    @Excel(name = "是否彩色")
    private boolean isColours;

    /** 是否双面 */
    @Excel(name = "是否双面")
    private boolean isDoubleFaced;

    /** 纸张数 */
    @Excel(name = "纸张数")
    private int paperNumber;

    /** 价格 */
    @Excel(name = "价格")
    private Double price;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setIsColours(boolean isColours)
    {
        this.isColours = isColours;
    }

    public boolean getIsColours()
    {
        return isColours;
    }
    public void setIsDoubleFaced(boolean isDoubleFaced)
    {
        this.isDoubleFaced = isDoubleFaced;
    }

    public boolean getIsDoubleFaced()
    {
        return isDoubleFaced;
    }
    public void setPaperNumber(int paperNumber)
    {
        this.paperNumber = paperNumber;
    }

    public int getPaperNumber()
    {
        return paperNumber;
    }
    public void setPrice(Double price)
    {
        this.price = price;
    }

    public Double getPrice()
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("isColours", getIsColours())
            .append("isDoubleFaced", getIsDoubleFaced())
            .append("paperNumber", getPaperNumber())
            .append("price", getPrice())
            .toString();
    }
}
